From: Sebastian Keller Date: Thu, 6 Jan 2022 03:53:23 +0000 (+0100) Subject: windowManager: Set correct unfullscreen gesture enabled state on startup X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~536^2^2~6 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f322e00ca545bdb3ea1fb2b4cf1cfbc5c498896d;p=gnome-shell.git windowManager: Set correct unfullscreen gesture enabled state on startup The unfullscreen gesture was defaulting to enabled until the first window focus change. With it now being run in the capture phase, the gesture was preventing clicks in the top panel except on the activities button before the first window was opened. Part-of: --- diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index 784f79393..d3bb15572 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -954,6 +954,7 @@ var WindowManager = class { global.display.connect('notify::focus-window', updateUnfullscreenGesture); global.display.connect('in-fullscreen-changed', updateUnfullscreenGesture); + updateUnfullscreenGesture(); global.stage.add_action_full('unfullscreen', Clutter.EventPhase.CAPTURE, topDragAction);